// css初始化
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}
li{
    list-style: none;
}
@font-face {
    font-family: electronicFont;
    src: url(../font/DS-DIGIT.TTF);
}

body {
    background: url(../images/bg.jpg) no-repeat top center;
    line-height: 1.15;
}

header {
    position: relative;
    height: 1.25rem;
    background: url(../images/head_bg.png)no-repeat;
    background-size: 100% 100%;

    h1 {
        font-size: .475rem;
        color: white;
        text-align: center;
        line-height: 1rem;
    }

    .showTime {
        position: absolute;
        top: 0;
        right: .375rem;
        line-height: .9375rem;
        color: rgba(255, 255, 255, 0.7);
        font-size: .25rem;
    }

}

.mainbox {
    display: flex;
    min-width: 1024px;
    max-width: 1920px;
    padding: .125rem .125rem 0;
    margin: 0 auto;

    .column:nth-child(1) {
        flex: 3;
    }

    .column:nth-child(2) {
        flex: 5;
        margin: 0 .125rem .1875rem;
    }

    .column:nth-child(3) {
        flex: 3;
    }

    .panel {
        position: relative;
        height: 3.875rem;
        padding: 0 .1875rem .5rem;
        margin-bottom: .1875rem;
        border: 2px solid rgba(25, 186, 139, 0.17);
        background: url('../images/line\(1\).png') rgba(255, 255, 255, 0.04);

        &::before {
            position: absolute;
            top: 0;
            left: 0;
            width: 10px;
            height: 10px;
            border-left: 2px solid #02a6b5;
            border-top: 2px solid #02a6b5;
            content: '';
        }

        &::after {
            position: absolute;
            top: 0;
            right: 0;
            width: 10px;
            height: 10px;
            border-right: 2px solid #02a6b5;
            border-top: 2px solid #02a6b5;
            content: '';
        }

        .panel-footer {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;

            &::before {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 10px;
                height: 10px;
                border-left: 2px solid #02a6b5;
                border-bottom: 2px solid #02a6b5;
                content: '';
            }

            &::after {
                position: absolute;
                bottom: 0;
                right: 0;
                width: 10px;
                height: 10px;
                border-right: 2px solid #02a6b5;
                border-bottom: 2px solid #02a6b5;
                content: '';
            }
        }

        h2 {
            height: .6rem;
            color: #fff;
            line-height: .6rem;
            text-align: center;
        }

        .chart {
            height: 3rem;
            background-color: pink;
        }
    }

    // on数字模块
    .on {
        background-color: rgba(101, 132, 226, 0.1);
        padding: .1875rem;

        .on-hd{
            border: 1px solid rgba(25, 186, 139, 0.17);
            position: relative;
            &::before {
                position: absolute;
                top: 0;
                left: 0;
                width: 10px;
                height: 10px;
                border-left: 2px solid #02a6b5;
                border-top: 2px solid #02a6b5;
                content: '';
            }
    
            &::after {
                position: absolute;
                top: 0;
                right: 0;
                width: 10px;
                height: 10px;
                border-right: 2px solid #02a6b5;
                border-top: 2px solid #02a6b5;
                content: '';
            }
            ul{
                
                display: flex;
                li{
                    position: relative;
                    flex:1;
                    line-height: 1rem;
                    font-size: .875rem;
                    color: #ffeb7b;
                    text-align: center;
                    font-family: 'electronicFont'; 
                             
                }
                li:nth-child(1) {
                    &::after{
                        content: '';
                        position: absolute;
                        top: 25%;
                        height: 50%;
                        width: 1px;
                        background-color: white;
                        right: 0;
                    }         
                }

            }
        }

        .on-bd{
            padding-top: .125rem;
            line-height: .5rem;
            color: rgba(255, 255, 255, 0.7);
            font-size:18px;
            ul{
                display: flex;
                li{
                    flex:1;
                    text-align: center
                }
            };
        }
    }
}